package org.lx.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

import org.apache.poi.ss.formula.functions.T;
import org.lx.nursing.domain.Elder;
import org.lx.nursing.domain.FamilyMember;
import org.lx.nursing.dto.ElderInfoDTO;
import org.lx.nursing.dto.UserLoginRequestDto;
import org.lx.nursing.vo.ElderFamilyBindVO;
import org.lx.nursing.vo.FamilyMemberElderVo;
import org.lx.nursing.vo.LoginVo;

/**
 * 老人家属Service接口
 *
 * @author sewen
 * @date 2025-03-05
 */
public interface IFamilyMemberService extends IService<FamilyMember> {

    LoginVo login(UserLoginRequestDto userLoginRequestDto);

    boolean bindElder(ElderInfoDTO dto);

    List<ElderFamilyBindVO> listByPage(Integer pageNum, Integer pageSize);

    List<?> queryServiceProperties(String iotId);

    List<?> queryDeviceDataListByDay(String iotId, String functionId, Long startTime, Long endTime);

    List<?> queryDeviceDataListByWeek(String iotId, String functionId, Long startTime, Long endTime);

    List<FamilyMemberElderVo> getMyFamilyMember();
}
